package com.careercup.question.id21124663;

import java.util.Scanner;

public class Solution {
	/**
	 * input: "kitten%20pic.jpg"
	 * output: "kitten pic.jpg"
	 * 
	 * %20 -> ' '
	 * %3A -> '?'
	 * %3D -> ':'
	 * 
	 * modify your input in place.
	 * no string library functions.
	 * 
	 * void DecodeURL(string str)
	 * @param args
	 */
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		char c[] = in.nextLine().toCharArray();
		for(int i = 0; i < c.length; i++) {
			if(c[i] != '%')
				System.out.print(c[i]);
			else {
				if(c[i + 1] == '2' && c[i + 2] == '0')
					System.out.print(" ");
				else if(c[i + 1] == '3' && c[i + 2] == 'A')
					System.out.print("?");
				else if(c[i + 1] == '3' && c[i + 2] == 'D')
					System.out.print(":");
				i += 2;
			}
		}
	}
}
